/* 页面布局 */
.author-edit-page {
    display: flex;
    width: 95%;
    max-width: 1400px;
    margin: 20px auto;
    gap: 20px;
}

/* 左侧编辑帮助栏 */
.author-sidebar {
    width: 240px;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    padding: 15px;
    border-radius: 4px;
}
.sidebar-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    padding-left: 5px;
    border-left: 3px solid #007bff;
}
.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-list li {
    margin: 8px 0;
}
.sidebar-list a {
    color: #495057;
    text-decoration: none;
    transition: color 0.3s;
}
.sidebar-list a:hover {
    color: #007bff;
}

/* 右侧主内容 */
.author-main {
    flex: 1;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 20px;
}

/* 编辑器区域 */
.editor-toolbar {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    padding: 10px;
    border-radius: 4px 4px 0 0;
}
.editor-toolbar button {
    margin-right: 5px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
}
.editor-toolbar button:hover {
    background: #f1f1f1;
}
.editor-content {
    width: 100%;
    height: 200px;
    border: 1px solid #e5e5e5;
    border-top: none;
    border-radius: 0 0 4px 4px;
    padding: 10px;
    resize: vertical;
    box-sizing: border-box;
}

/* 表单样式 */
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}
.form-group input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    box-sizing: border-box;
}
.form-desc {
    color: #6c757d;
    font-size: 14px;
    margin-top: 5px;
}

/* 响应式 */
@media (max-width: 768px) {
    .author-edit-page {
        flex-direction: column;
    }
    .author-sidebar {
        width: 100%;
    }
}